@charset "utf-8";
/* CSS Document */

/* ----------------------------------------
   public
------------------------------------------- */
html,
body {
	font-size:100%;
}
* {
	font-family: "微軟正黑體", Arial;
}
body {
	background: url(../img/bg.jpg) no-repeat top center #ffe6bc;
	background-size: 100% auto;
}
a:focus {
	outline:none;
}
/*nav*/
nav {
	height: 90px;
}
.logo {
	height: 70px;
	padding-top: 10px;
}
.logo img {
	height: 100%;
}
/*footer*/
footer a,
footer a:hover {
	text-decoration: none;
	color: #333;
}
footer {
	padding: 15px 0;
}
footer ul {
	position: relative;
	z-index: 1;
}
@media screen and (max-width:1024px) {
footer {
	background-color: transparent;
}
}
@media screen and (max-width:768px) {
footer {
	padding-top: 35px;
	padding-bottom: 5px;
}
}
/*other*/
ul {
	padding: 0;
	margin: 0;
	list-style: none;
}
a.bt {
	display: inline-block;
	width: 210px;
	height: 60px;
	border-radius: 5px;
	background: #ef236c;
	text-decoration: none;
	font-size: 24px;
	font-weight: bold;
	text-align: center;
	color: #fff;
	padding-top: 10px;
	-webkit-box-shadow: inset 0px -8px 0px 0px rgba(0,0,0,0.2);
	-moz-box-shadow: inset 0px -8px 0px 0px rgba(0,0,0,0.2);
	box-shadow: inset 0px -8px 0px 0px rgba(0,0,0,0.2);
}
a.bt:hover {
	-webkit-box-shadow: inset 0px 0px 0px 0px rgba(0,0,0,0.2);
	-moz-box-shadow: inset 0px 0px 0px 0px rgba(0,0,0,0.2);
	box-shadow: inset 0px 0px 0px 0px rgba(0,0,0,0.2);
	-webkit-transform: translateY(4px);
	transform: translateY(4px);
}
a.bt.bt-blue {
	background: #1393ed;
}
@media screen and (max-width: 399px) {
nav .pull-left {
	width: 100%;
	text-align: center;
}
nav .pull-left img {
	display: inline-block;
}
nav .pull-right {
	width: 100%;
	height: 60px;
	padding-top: 0;
	text-align: center;
}
nav .pull-right img {
	height: 100%;
	width: auto;
	display: inline-block;
}
}
/* ----------------------------------------
   index
------------------------------------------- */
body#index .logo {
	display: none;
}
.event-main {
	height: 600px;
	background: url(../img/event/wcolor-bg.png) no-repeat center center;
}
.index-copy img {
	margin-bottom: 20px;
}
.index-copy p {
	font-size: 24px;
	line-height: 30px;
}
.index-copy ul {
	margin: 20px 0;
}
.event-gift {
	background-color: rgba(235, 22, 81, 0.1);
	padding: 20px 0;
}
.event-gift img {
	display: inline-block;
	margin-bottom: 15px;
}
.event-gift p {
	font-weight: bold;
	margin-bottom: 0;
}
 @media screen and (min-width: 1024px) {
body#index footer {
	position: inherit;
}
}
@media screen and (max-width: 1024px) {
.event-main {
	height: inherit;
	min-height: 520px;
}
}
@media screen and (max-width: 991px) {
.event-main {
	min-height: 450px;
	background-size: contain;
}
.index-copy p {
	font-size: 20px;
}
.index-copy .bt {
	width: 160px;
	margin-bottom: 10px;
}
.gift-list .col-sm-6 {
	min-height: 250px;
	margin-bottom: 15px;
	width: 50%;
	float: left;
}
.gift-list .col-sm-6:nth-child(3),
 .gift-list .col-sm-6:nth-child(4) {
	margin-bottom: 0;
}
}
@media screen and (max-width: 767px) {
.event-main {
	text-align: center;
	background-size: auto;
}
.event-main img {
	display: inline-block;
}
}
@media screen and (max-width: 480px) {
.gift-list .col-sm-6 {
	width: 100%;
	float: inherit;
}
}
/* ----------------------------------------
   info
------------------------------------------- */
#info {
	padding: 50px 0;
}
#info h2 {
	font-size: 22px;
	font-weight: bold;
	color: #ef236c;
}
#info ul {
	list-style: disc;
	margin-left: 20px;
}
#info ol {
	padding-left: 0;
	margin-left: 20px;
}
#info a {
	color: #ef236c;
}
/* ----------------------------------------
   game-step1 Choose
------------------------------------------- */
.char-list {
	margin-bottom: 60px;
	text-align: center;
}
.char-list h1 {
	display: inline-block;
}
.char-list p {
	font-size: 24px;
	line-height: 30px;
}
.char-list .char-name input {
	position: absolute;
	left: -99999px;
	/*left: 0;
    opacity: 0;*/
}
.char-name {
	position: relative;
	margin: 70px auto;
}
.char-name label {
	display: inline-block;
	width: 148px;
	height: 226px;
	line-height: 415px;
	font-weight: bold;
	color: #6a3906;
	text-align: center;
	position: relative;
	cursor: pointer;
	margin-right: 15px;
}
.char-name label:last-child {
	margin-right: 0;
}
.char-name label.c1 {
	background: url(../img/event/c01.png) no-repeat center center;
}
.char-name label.c2 {
	background: url(../img/event/c02.png) no-repeat center center;
}
.char-name label.c3 {
	background: url(../img/event/c03.png) no-repeat center center;
}
.char-name label.c4 {
	background: url(../img/event/c04.png) no-repeat center center;
}
.char-name label.c5 {
	background: url(../img/event/c05.png) no-repeat center center;
}
.char-name label.c6 {
	background: url(../img/event/c06.png) no-repeat center center;
}
.char-name label.c7 {
	background: url(../img/event/c07.png) no-repeat center center;
}
 /*.char-name label:hover:before,*/
 input[type="radio"]#c1:checked ~ label.c1:before,
 input[type="radio"]#c2:checked ~ label.c2:before,
 input[type="radio"]#c3:checked ~ label.c3:before,
 input[type="radio"]#c4:checked ~ label.c4:before,
 input[type="radio"]#c5:checked ~ label.c5:before,
 input[type="radio"]#c6:checked ~ label.c6:before,
 input[type="radio"]#c7:checked ~ label.c7:before {
 content: url("../img/event/svg/c-hover.svg");
 display: block;
 width: 112px;
 height: 205px;
 position: absolute;
 top: -10px;
 right: -30px;
}
/* ----------------------------------------
   game-step2 Question
------------------------------------------- */
.question-bg {
	background-image: url(../img/event/wcolor-bgR.png);
	background-repeat: no-repeat;
	background-position: 75% 50%;
	background-size: 65% auto;
}
.question-bg .row {
	margin-top: 20px;
	position: relative;
	min-height: 560px;
}
/*小花葵角色*/
.char {
	width: 350px;
	height: 406px;
	position: absolute;
	bottom: 0;
	left: 30px;
	z-index: 2;
}
#c01 .char {
	background: url(../img/event/c01L.png) no-repeat center center;
}
#c02 .char {
	background: url(../img/event/c02L.png) no-repeat center center;
}
#c03 .char {
	background: url(../img/event/c03L.png) no-repeat center center;
}
#c04 .char {
	background: url(../img/event/c04L.png) no-repeat center center;
}
#c05 .char {
	background: url(../img/event/c05L.png) no-repeat center center;
}
#c06 .char {
	background: url(../img/event/c06L.png) no-repeat center center;
}
#c07 .char {
	background: url(../img/event/c07L.png) no-repeat center center;
}
/*計時*/
.time {
	width: 235px;
	height: 345px;
	background: url(../img/event/time-bg.png) no-repeat center center;
	font-weight: bold;
	overflow: hidden;
	position: absolute;
	right: 0;
	bottom: 0;
	z-index: 2;
}
.time p {
	font-size: 24px;
	color: #0e0e0e;
	margin: 0;
	position: relative;
	top: 80px;
	left: 85px;
}
.time span {
	font-size: 40px;
	color: #ef236c;
	position: relative;
	top: 65px;
	left: 80px;
}
/*題目問答*/
.qa {
	width: 825px;
	height: 495px;
	position: absolute;
	top: 0;
	right: 0;
	z-index: 1;
}
.qa-txt {
	font-size: 24px;
	width: 570px;
	position: absolute;
	top: 120px;
	left: 70px;
}
.qa-txt h2 {
	font-size: 30px;
	font-weight: bold;
}
.qa-txt input[type=radio] {
	position: absolute;
	left: 0;
	top: 0;
	opacity: 0;
}
.qa-txt label {
	font-weight: normal;
	width: 100%;
	cursor: pointer;
}
.qa-txt label:before {
	font-family: "FontAwesome";
	content: "\f10c";
	font-size: 20px;
	padding-right: 10px;
	position: relative;
	top: -2px;
}
.qa-txt input[type="radio"]:checked + label:before {
	content: "\f058";
	color: #ef236c;
}
/*題目背景*/
#q-y-1,
#q-s-1,
#q-o-1 {
	background: url(../img/event/q01.png) no-repeat center center;
}
#q-y-2,
#q-s-2,
#q-o-2 {
	background: url(../img/event/q02.png) no-repeat center center;
}
#q-y-3,
#q-s-3,
#q-o-3 {
	background: url(../img/event/q03.png) no-repeat center center;
}
#q-y-4,
#q-s-4,
#q-o-4 {
	background: url(../img/event/q04.png) no-repeat center center;
}
#q-y-5,
#q-s-5,
#q-o-5 {
	background: url(../img/event/q05.png) no-repeat center center;
}
#q-y-6,
#q-s-6,
#q-o-6 {
	background: url(../img/event/q06.png) no-repeat center center;
}
#q-y-7,
#q-s-7,
#q-o-7 {
	background: url(../img/event/q07.png) no-repeat center center;
}
/*送出按鈕*/
.qa-bt {
	position: absolute;
	right: 330px;
	bottom: 95px;
	z-index: 2;
}
.qa-bt a {
	display: block;
	width: 110px;
	height: 115px;
	background: url(../img/event/qa-bt.png) no-repeat center center;
	font-size: 30px;
	font-weight: bold;
	text-align: center;
	line-height: 115px;
	color: #fff;
	text-decoration: none;
}
.qa-bt a:hover {
	opacity: .8;
}
@media screen and (max-width: 1024px) {
.char {
	width: 230px;
	height: 280px;
	background-size: 90%!important;
	left: -25px;
	bottom: 30px;
}
}
@media screen and (max-width: 768px) {
.question-bg {
	background: none;
	margin-bottom: 80px;
}
.question-bg .row {
	margin-top: 0;
}
.char {
	bottom: -50px;
}
.time {
	width: 200px;
	height: 260px;
	background-size: 90% auto;
}
.time p {
	font-size: 20px;
	top: 60px;
	left: 75px;
}
.time span {
	font-size: 36px;
	top: 50px;
	left: 65px;
}
.qa-bt {
	right: 180px;
}
.qa {
	width: 100%;
	background-color: #fff!important;
}
#q-y-1,
#q-s-1,
#q-o-1 {
	background: url(../img/event/q01M.jpg) no-repeat top center;
}
#q-y-2,
#q-s-2,
#q-o-2 {
	background: url(../img/event/q02M.jpg) no-repeat top center;
}
#q-y-3,
#q-s-3,
#q-o-3 {
	background: url(../img/event/q03M.jpg) no-repeat top center;
}
#q-y-4,
#q-s-4,
#q-o-4 {
	background: url(../img/event/q04M.jpg) no-repeat top center;
}
#q-y-5,
#q-s-5,
#q-o-5 {
	background: url(../img/event/q05M.jpg) no-repeat top center;
}
#q-y-6,
#q-s-6,
#q-o-6 {
	background: url(../img/event/q06M.jpg) no-repeat top center;
}
#q-y-7,
#q-s-7,
#q-o-7 {
	background: url(../img/event/q07M.jpg) no-repeat top center;
}
.qa-txt {
	width: 450px;
	top: 90px;
	left: 50%;
	margin-left: -225px;
	font-size: 24px;
}
.qa-txt h2 {
	font-size: 26px;
	margin-top:0;
	padding-top:20px;
}
}
@media screen and (max-width: 640px) {
.question-bg {
	margin-bottom: 40px;
}
}
@media screen and (max-width: 639px) {
.char {
	width: 170px;
	height: 200px;
	background-size: 80%!important;
	bottom: 10px;
	right: 140px;
	left: inherit;
	z-index: 3;
}
.qa-bt {
	right: inherit;
	left: 20px;
}
.qa {
	background-size: 80%!important;
}
.qa-txt {
	width: 80%;
	margin-left: -40%;
}
}
@media screen and (max-width: 399px) {
.question-bg .row {
	margin-top: 30px;
}
.qa-txt {
	top: 60px;
}
}
@media screen and (max-width: 400px) {
.char,
.time {
	bottom: -30px;
}
.qa {
	background-size: 90%!important;
}
.qa-txt {
	width: 90%;
	margin-left: -45%;
	top: 40px;
	font-size: 16px;
}
.qa-txt h2 {
	font-size: 20px;
}
.qa-txt label:before {
	top: 0;
}
.qa-bt {
	top: 280px;
}
}
/*答對 & 答錯*/
#ans,
.right,
.wrong {
	background-color: rgba(255,255,255,.9);
	text-align: center;
}
.right .right-ani {
	width: 450px;
	height: 450px;
	margin: 20px auto;
	background-repeat: no-repeat;
	background-position: center center;
	background-size: 55%;
}
.right .right-ani iframe {
	width: 100%;
	height: 100%;
}
#c01 .right .right-ani {
	background-image: url(../img/event/svg/c01.svg);
}
#c02 .right .right-ani {
	background-image: url(../img/event/svg/c02.svg);
}
#c03 .right .right-ani {
	background-image: url(../img/event/svg/c03.svg);
}
#c04 .right .right-ani {
	background-image: url(../img/event/svg/c04.svg);
}
#c05 .right .right-ani {
	background-image: url(../img/event/svg/c05.svg);
}
#c06 .right .right-ani {
	background-image: url(../img/event/svg/c06.svg);
}
#c07 .right .right-ani {
	background-image: url(../img/event/svg/c07.svg);
}
.wrong .wrong-ani {
	width: 245px;
	height: 320px;
	margin: 20px auto;
	background-repeat: no-repeat;
	background-position: center center;
}
#c01 .wrong .wrong-ani {
	background-image: url(../img/event/svg/w01.svg);
}
#c02 .wrong .wrong-ani {
	background-image: url(../img/event/svg/w02.svg);
}
#c03 .wrong .wrong-ani {
	background-image: url(../img/event/svg/w03.svg);
}
#c04 .wrong .wrong-ani {
	background-image: url(../img/event/svg/w04.svg);
}
#c05 .wrong .wrong-ani {
	background-image: url(../img/event/svg/w05.svg);
}
#c06 .wrong .wrong-ani {
	background-image: url(../img/event/svg/w06.svg);
}
#c07 .wrong .wrong-ani {
	background-image: url(../img/event/svg/w07.svg);
}
 @media screen and (max-width: 480px) {
.right .right-ani {
	width: 300px;
	height: 300px;
}
}
@media screen and (max-width: 320px) {
.right .right-ani {
	width: 270px;
	height: 270px;
}
}
/* ----------------------------------------
   game-step3 Share
------------------------------------------- */
.share {
	display: -webkit-flex;
	display: flex;
	-webkit-align-items: center;
	align-items: center;
	margin: 40px 0;
	background-image: url(../img/event/share-bg.jpg);
	background-position: right center;
	background-repeat: no-repeat;
	background-color: #fff;
	padding: 10px;
	-webkit-box-shadow: 0px 0px 10px 0px rgba(225,176,112,1);
	-moz-box-shadow: 0px 0px 10px 0px rgba(225,176,112,1);
	box-shadow: 0px 0px 10px 0px rgba(225,176,112,1);
}
.mypic {
	width: 55%;
}
.share-txt {
	width: 45%;
	padding-left: 10px;
}
.share-txt p {
	font-size: 24px;
	line-height: 30px;
	margin-bottom: 60px;
}
 @media screen and (max-width: 768px) {
.share {
	display: block;
}
.mypic,
.share-txt {
	width: 100%;
}
.share-txt {
	margin: 40px 0;
	padding-left: 0;
}
.share-txt p {
	margin-bottom: 20px;
}
}
@media screen and (max-width: 480px) {
.share-txt {
	margin:20px 0;
}
.share-txt p {
	font-size: 20px;
}
}
@media screen and (max-width: 400px) {
.share {
	margin-top: 60px;
}
}
/* ----------------------------------------
   game-step4 Form
------------------------------------------- */
.user-data {
	padding: 25px;
}
.user-data .myinfo,
.user-data .share-txt {
	width: 50%;
	padding-left: 0;
}
.user-data .share-txt {
	align-self: flex-start;
}
.myinfo .form-group {
	margin-bottom: 20px;
}
.myinfo label {
	font-size: 16px;
	font-weight: normal;
	padding-left: 0;
}
.survey,
.check {
	position: relative;
	margin-bottom: 20px;
}
.survey input[type=radio],
.check input[type=checkbox] {
	position: absolute;
	left: 0;
	top: 0;
	opacity: 0;
}
.survey label,
.check label {
	cursor: pointer;
	margin-right: 10px;
}
.survey label:before,
.check label:before {
	font-family: "FontAwesome";
	content: "\f10c";
	font-size: 20px;
	margin-right: 5px;
}
.survey input[type="radio"]:checked + label:before,
.check input[type="checkbox"]:checked + label:before {
	content: "\f058";
	color: #ef236c;
}
.check a {
	color: #ef236c;
	text-decoration: underline;
}
.labor {
	position: absolute;
	right: 10%;
	bottom: 40px;
}
.labor img {
	display: inline-block;
}
@media screen and (max-width: 1024px) {
.labor {
	right: 8%;
}
}
@media screen and (max-width: 768px) {
.user-data .myinfo,
.user-data .share-txt {
	width: 100%;
}
.user-data .myinfo {
	margin-bottom: 60px;
}
.myinfo a.bt {
	margin-left: calc(50% - 105px);
}
.user-data .share-txt {
	height: 460px;
}
.labor {
	bottom: 0;
	right: 25%;
}
}
@media screen and (max-width: 640px) {
.labor {
	right: 20%;
}
}
@media screen and (max-width: 480px) {
.labor {
	right: 10%;
}
}
@media screen and (max-width: 479px) {
.user-data .share-txt {
	height: 400px;
}
.labor {
	width: 280px;
}
}
.fancybox-bg {
	background:#fff;
}

